<?php
/**
 * Copyright (c) Sandeep Manne (sandeep.manne@gmail.com) 
 *
 * @author  Sandeep Manne
 * @since   23-May-2009, 12:54:26 PM
 * @version $
 */

/**
 * @see CoreForm
 */
require_once 'Core/Form.php';

class ZoneForm extends Core_Form
{
    /**
     * get form object
     * @return Zend_Form
     */
    public function getForm()
    {
        $form = new Core_Form();
        $zoneName = $form->createElement('text','zone_name')
                         ->setLabel('Enter Zone Name: ');
        
        $submit   = $form->createButton('createzone');
        $submit->getDecorator('HtmlTag')
               ->setOption('class', 'form-buttons clear');
        
        $form->addElements(array($zoneName, $submit));
               
        return $form;
    }
}
